const Layout = () => import("@/layout/index.vue")
const Markdown = () => import('@/components/markdown.vue')
/* 
1. name 要和 md 文档的名字保持一致
*/
export default {
  path: "/markdown",
  name: "Markdown",
  title: "Markdown",
  icon: 'svg-spinners:blocks-shuffle-3',
  component: Layout,
  children: [
    {
      path: "/markdown_doc",
      name: "Markdown",
      title: "Markdown",
      icon: 'svg-spinners:bars-scale-middle',
      children: [
        {
          path: "/doc/vuepress",
          name: "vuepress",
          title: "vuepress主题语法",
          component: Markdown,
          meta: {
            title: 'vuepress'
          }
        },
        {
          path: "/doc/reactnative",
          name: "reactnative",
          title: "reactnative",
          component: Markdown,
          meta: {
            title: 'reactnative'
          },
        },
        {
          path: "/doc/emoji",
          name: "emoji",
          title: "emoji对照",
          component: Markdown,
          meta: {
            title: 'emoji'
          },
        }
      ]
    },
    // 别的扩展内容
    {
      path: "/github",
      name: "github",
      title: "Github",
      icon: 'svg-spinners:bars-scale-middle',
      component: Markdown,
    }
  ]
}
